package org.example.myleet.p521;

import org.example.myleet.Utils.Assert;

public class Main {
    public static void main(String[] args) {
        Solution solution = new Solution();
        Assert.isTrue(3 == solution.findLUSlength("aba", "cdc"));
        Assert.isTrue(3 == solution.findLUSlength("abc", "cdc"));
        Assert.isTrue(6 == solution.findLUSlength("acbdac", "cdc"));
        Assert.isTrue(3 == solution.findLUSlength("aaa", "bbb"));
        Assert.isTrue(-1 == solution.findLUSlength("aaa", "aaa"));
    }
}
